<script lang="ts" setup>
defineProps<{
    src: string
}>()

defineEmits<{
    (e: 'onPlayerEndedEmitted'): void
}>()
</script>

<template>
    <video :src="src" w-full h-full autoplay @ended="$emit('onPlayerEndedEmitted')"/>
</template>
